package com.tboss.am.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tboss.am.dao.ServerInfoDao;
import com.tboss.am.dto.ServerInfoDto;

@Service
public class ServerInfoService {
	
	// @Autowired ServerDao serverDao;
	@Autowired private ServerInfoDao serverInfoDao;

	public List<ServerInfoDto> selectAll(){
		return this.serverInfoDao.selectAll();		
	}
	
	/*
	public ServerDto selectOne(int svrNum){
		return this.serverDao.selectOne(svrNum);
	}

	public void insert(ServerDto serverDto){
		this.serverDao.insert(serverDto);
	}
	
	public void update(ServerDto serverDto){
		this.serverDao.update(serverDto);
	}
	
	public void delete(int svrNum){
		this.serverDao.delete(svrNum);
	}
	*/
}
